#!/bin/bash
OK=0
WARN=1
CRITICAL=2
UNKNOWN=3
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
EPATH="/usr/lib64/nagios/plugins"
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
EPATH="/usr/lib64/nagios/plugins"

Ok_name=''
Fail_name=''
Judge=0
gfsmount=''

                        Judge=1
                        /etc/init.d/heplog stop 
                        /etc/init.d/flumed stop 
                        /etc/init.d/flumed start 
                        /etc/init.d/heplog start 

                        exit $CRITICAL


